Instead of counting on the implicit sizing of ClutterGroup, which isn't
going to work well because of current limitations of ClutterClone, set
the size of workspace explicitly based on the screen size.
This should fix various problems with drag-and-drop being unreliable;
if a workspace was sized to big it could overlap other workspaces or
elements of the overview.
http://bugzilla.gnome.org/show_bug.cgi?id=591643
this.actor = new Clutter.Group();
this.actor._delegate = this;
+ // Auto-sizing is unreliable in the presence of ClutterClone, so rather than
+ // implicitly counting on the workspace actor to be sized to the size of the
+ // included desktop actor clone, set the size explicitly to the screen size.
+ // See http://bugzilla.openedhand.com/show_bug.cgi?id=1755
+ this.actor.width = global.screen_width;
+ this.actor.height = global.screen_height;
this.scale = 1.0;
let windows = global.get_windows().filter(this._isMyWindow, this);